package com.hxl.tech.gateway.auth.dto.application;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotEmpty;

/**
 * 应用更新 DTO
 * @author soliddq
 * @date 2023-09-20
 */
@Data
public class ApplicationUpdateDTO {

    @ApiModelProperty(value = "应用ID", name = "app_id", required = true)
    @NotEmpty
    private String appId;

    @ApiModelProperty(value = "应用名称", name = "app_name", required = false)
    private String appName;

    @ApiModelProperty(value = "重定向地址(必须和授权链接保持一致)", name = "redirect_uri", required = false)
    private String redirectUri;

    @ApiModelProperty(value = "接收授权Token地址", name = "receive_token_uri", required = false)
    private String receiveTokenUri;

    @ApiModelProperty(value = "备注", name = "remark", required = false)
    private String remark;

}
